This subsystem provides access to the results of a measurement.
Command tree:CALCulate<Chn>
:DATA
:NSWeep?
:STIMulus?
The trace data is transferred in either ASCII or block data (REAL) format, depending on the FORMat[:DATA] setting. If the block data format is used, it is recommended to select EOI as receive terminator (SYSTem:COMMunicate:GPIB[:SELF]:RTERminator EOI).
Reads the current response values of the active data trace or memory trace and reads or writes error terms.
<Chn>
Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.
Parameters
See list of parameters below.
Range [def. unit]
The data format is parameter-dependent; see below. The unit is the default unit of the measured parameter; see CALCulate<Ch>:PARameter:SDEFine.
*RST value
–
SCPI, Command Types
Confirmed, command (for error terms) or query.
Example:
*RST; SWE:POIN 20
Create a trace with 20 sweep points, making the created trace the active trace of channel 1 (omitted optional mnemonic SENSe1).
CALC:DATA? FDAT
Query the 20 response values of the created trace. In the FDATa setting, 20 comma-separated ASCII values are returned.
CALC:DATA:STIM?
Query the 20 stimulus values of the created trace. 20 comma-separated ASCII values are returned.
The following parameters are related to trace data (see also Data Flow diagram):
FDATa
Formatted trace data, according to the selected trace format (CALCulate<Chn>:FORMat). 1 value per trace point for Cartesian diagrams, 2 values for polar diagrams.
SDATa
Unformatted trace data: Real and imaginary part of each measurement point. 2 values per trace point irrespective of the selected trace format. The trace mathematics is not taken into account.
MDATa
Unformatted trace data (see SDATa) after evaluation of the trace mathematics.
The following parameters denote the error terms generated during a calibration:
Error Term
Description
Receive Ports (S-parameter)
SCORr1, ... SCORr12
2-port error terms; see [SENSe<Ch>:]CORRection:DATA.
1 and 2 (S11, S12, S21, S22)
SCORr13
Directivity
3 (S33)
SCORr14
Source match
SCORr15
Reflection tracking
SCORr16
Isolation
3 (S31)
SCORr17
Load match
SCORr18
Transmission tracking
3 (S13)
SCORr19
1 (S13)
SCORr20
SCORr21
SCORr22
3 (S32)
SCORr23
SCORr24
SCORr25
2 (S23)
SCORr26
SCORR27
Use the generalized command [SENSe<Ch>:]CORRection:COLLect:CDATa to read or write error terms for arbitrary analyzer ports.
Reads the response values of a trace acquired in single sweep mode (INITiate<Ch>:CONTinuous OFF). The trace can be any of the traces acquired during the single sweep cycle.
Channel number used to identify the active trace.
Read unformatted sweep data (fixed parameter): Returns the real and imaginary part of each measurement point (2 values per trace point irrespective of the selected trace format).
<Trace_Hist_Count>
Number of sweep to be read. 1 denotes the last sweep acquired, 2 denotes the second-last and so forth.
1 to sweep count defined via [SENSe<Ch>:]SWEep:COUNt [–]
Device-specific, query only
Example (see also Sweep History):
SWE:COUN 10
Define the number of sweeps (10) to be measured in single sweep mode.
INIT:CONT OFF; INIT
Activate single sweep mode and start a single sweep in channel no. 1.
CALC:DATA:NSW? SDAT,5
Query the results of the 5th sweep.
Reads the stimulus values of the active data or memory trace.
The data is transferred in the data format defined via FORMat[:DATA]. The unit is the default unit of the sweep variable (Hz or dBm or s).
See CALCulate<Chn>:DATA?